package com.hsc.www.mybatis.soEasy.ee.crudMapper;


import com.hsc.www.mybatis.soEasy.ee.rr.Strategy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InsertBaseMapper<Entity> extends BaseMapper {

    int insert(@Param("entity") Entity entity,
               @Param("strategy") Strategy strategy
    );

    int insert(@Param("entityList") List<Entity> entityList,
               @Param("strategy") Strategy strategy
    );

}
